FROM 10.0.100.86:30080/library/php-swoft-swoftcli-base:v2

LABEL <Dowan Xuan duowenxuan@99elink.com>

# Clean all cache file which is in DIR:/Swoft
RUN rm -rf /Swoft
COPY . /Swoft/
COPY start.sh /root/

RUN chmod 777 /root/start.sh && chmod 777 -R /Swoft/bin/

CMD ["sh","/root/start.sh"]
